<template>
    <div class="child">
        <h3>子组件</h3>
        <GrandChild v-bind="$attrs"></GrandChild>
    </div>
</template>

<script setup lang="ts" name="Child">
import GrandChild from "./GrandChild.vue";

</script>

<style  scoped>
.child {
    background-color: skyblue;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px black;
}
</style>